home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
How Would You Survive?
/
How Would You Survive (1995)(Grolier)[Mac-PC].iso
/
mac
/
AZTECW.DIR
/
01704_Script_Government
< prev
next >
Wrap
Text File
|
1995-09-12
|
8KB
|
297 lines
global gQuest, gBeenClicked
on AGovtRollovers1
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(16) then
repeat while rollover(16)
AztecCursor
puppetsprite 11, true
set the locH of sprite 11 to 334
set the locV of sprite 11 to 211
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
Messenger
end repeat
end if
end if
end repeat
puppetsprite 11, false
else
if rollover(3) then
repeat while rollover(3)
AztecCursor
puppetsprite 12, true
set the locH of sprite 12 to 409
set the locV of sprite 12 to 219
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
AnimateLoop 2, 604, 3, "SA300500.AIF", 1
end repeat
end if
end if
end repeat
set the locH of sprite 12 to 909
puppetsprite 12, false
updatestage
else
if rollover(9) then
repeat while rollover(9)
AztecCursor
puppetsprite 13, true
set the locH of sprite 13 to 413
set the locV of sprite 13 to 275
updatestage
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
AnimateLoopFastPause 9, 592, 8, 0, 1, 1
end repeat
end if
end if
end repeat
set the locH of sprite 13 to 913
puppetsprite 13, false
updatestage
else
if rollover(14) then
ArrowCursor
repeat while rollover(14)
set the locH of sprite 15 to 208
set the locV of sprite 15 to 340
updatestage
end repeat
set the locH of sprite 15 to 908
updatestage
else
if rollover(40) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on AGovtRollovers2
set gBeenClicked = 0
if (not(CheckClickedStatus(gQuest))) then
if rollover(14) then
repeat while rollover(14)
AztecCursor
if the mousedown then
set GBeenClicked = 1
else
if gBeenClicked = 1 then
repeat while gBeenClicked = 1
GovernmentAnimate
end repeat
end if
end if
end repeat
else
if rollover(8) then
ArrowCursor
repeat while rollover(8)
set the locH of sprite 9 to 328
set the locV of sprite 9 to 220
updatestage
end repeat
else
if rollover(10) then
ArrowCursor
repeat while rollover(10)
set the locH of sprite 11 to 224
set the locV of sprite 11 to 363
updatestage
end repeat
set the locH of sprite 11 to 924
updatestage
else
if rollover(12) then
ArrowCursor
repeat while rollover(12)
set the locH of sprite 13 to 392
set the locV of sprite 13 to 259
updatestage
end repeat
set the locH of sprite 13 to 992
updatestage
else
if rollover(39) then
HandCursor
else
if rollover(41) then
HandCursor
else
if rollover(42) then
HandCursor
else
ArrowCursor
end if
end if
end if
end if
end if
end if
end if
end if
RandomQuestion(gQuest)
end
on GovernmentAnimate
ArrowCursor
set gAnimationcast1 = 612
set gAnimationcast2 = 617
set count = 0
puppetsound "SA301701.AIF"
repeat while count < 2 and (the mouseUp)
set the castnum of sprite 6 = gAnimationcast1 + 1
set the castnum of sprite 7 = gAnimationcast2 + 1
updatestage
wait .3
if (the mousedown) then
exit repeat
end if
set the castnum of sprite 6 = gAnimationcast1 + 2
set the castnum of sprite 7 = gAnimationcast2 + 2
updatestage
if (the mousedown) then
exit repeat
end if
wait .3
set the castnum of sprite 6 = gAnimationcast1 + 3
updatestage
if (the mousedown) then
exit repeat
end if
wait .3
set the castnum of sprite 6 = gAnimationcast1 + 2
set the castnum of sprite 7 = gAnimationcast2
updatestage
if (the mousedown) then
set animating = 0
exit repeat
end if
wait .3
set the castnum of sprite 6 = gAnimationcast1 + 1
updatestage
if (the mousedown) then
exit repeat
end if
wait .3
set the castnum of sprite 6 = gAnimationcast1
updatestage
if (the mousedown) then
exit repeat
end if
wait .3
set count = count + 1
end repeat
set the castnum of sprite 6 = gAnimationcast1
set the castnum of sprite 7 = gAnimationcast2
updatestage
sound fadeout 1, 2*60
set gBeenClicked = 0
end
on Messenger
ArrowCursor
set gAnimationcast1 = 600
set count = 0
puppetsound "SA300401.AIF"
repeat while count < 1 and (the mouseUp)
set the castnum of sprite 10 = gAnimationcast1 + 1
updatestage
wait .2
if (the mousedown) then
exit repeat
end if
set the castnum of sprite 10 = gAnimationcast1 + 2
updatestage
if (the mousedown) then
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 3
updatestage
if (the mousedown) then
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 2
updatestage
if (the mousedown) then
set animating = 0
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 1
updatestage
wait .2
if (the mousedown) then
exit repeat
end if
set the castnum of sprite 10 = gAnimationcast1 + 2
updatestage
if (the mousedown) then
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 3
updatestage
if (the mousedown) then
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 2
updatestage
if (the mousedown) then
set animating = 0
exit repeat
end if
wait .2
set the castnum of sprite 10 = gAnimationcast1 + 1
updatestage
wait .2
if (the mousedown) then
exit repeat
end if
set the castnum of sprite 10 = gAnimationcast1
updatestage
if (the mousedown) then
exit repeat
end if
wait .5
set count = count + 1
end repeat
set the castnum of sprite 10 = gAnimationcast1
updatestage
sound fadeout 1, 2*60
set gBeenClicked = 0
end